﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dukou.DTO;

namespace Dukou.Example.DTO.Domain
{
    public abstract class Entity : IEntity, IUniqueIdentifier
    {
        public int Id { get; set; }

        public string GetIdentity()
        {
            return string.Format("{0}-{1}", this.GetType(), this.Id);
        }
    }
}
